<?php

namespace app\home\model;

use think\Model;

class Theme extends Base
{
    public function getImageAttr ($name) {
	    return toImages($name);
    }


    public function theme(){
    	return $this->hasMany('ThemeGoods','theme_id','id');
    }


}
